//
//  WmcEditWatermarkHeaderView.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/3/10.
//

import UIKit

class WmcEditWatermarkHeaderView: WmcBaseView {
    lazy var switchLabel: UILabel = {
        let label = UILabel.YP.Create(text: "开关", font: 14, color: UIColor.wmc_grayH5_606066, alignment: .left)
        return label
    }()

    lazy var optionsLabel: UILabel = {
        let label = UILabel.YP.Create(text: "选项", font: 14, color: UIColor.wmc_grayH5_606066, alignment: .right)
        return label
    }()

    override func makeUI() {
        backgroundColor = UIColor.wmc_grayH21_FAFAFA

        addSubview(switchLabel)
        switchLabel.snp.makeConstraints { make in
            make.top.bottom.right.equalToSuperview()
            make.left.equalTo(Wmc_standardEdge.left)
        }

        addSubview(optionsLabel)
        optionsLabel.snp.makeConstraints { make in
            make.top.left.bottom.equalToSuperview()
            make.right.equalTo(-Wmc_standardEdge.right)
        }
    }
}
